package com.expert.common.constant;

/**
 * @描述: web全局常用key
 * @作者: Pengo.Wen
 * @日期: 2017-03-31 16:23
 * @版本: v1.0
 */
public class ConstantWebContext {

    public static final String respone_success = "0";

    public static final String respone_error = "error";

    public static final String respone_unable = "unable";

    public static final String respone_classNot = "classNot";

    public static final String respone_grade_Not = "gradeNot";

    public static final String respone_canNotDo = "canNotDo";
    /**
     * web 路径
     */
    public static final String request_cxt = "cxt";

    /**
     * request 请求id
     */
    public static final String request_id = "request_id";

    /**
     * request cookie
     */
    public static final String request_cookieMap = "cookieMap";

    /**
     * request param
     */
    public static final String request_paramMap = "paramMap";

    /**
     * 国际化，设置request中的当前语言
     */
    public static final String request_localePram = "localePram";

    /**
     * 国际化，设置cookie中当前语言的key
     */
    public static final String cookie_language = "language";

    /**
     * 国际化，设置request中的当前语言map
     */
    public static final String request_i18nMap = "i18nMap";

    /**
     * 国际化，设置request中的当前语言对应列后缀
     */
    public static final String request_i18nColumnSuffix = "i18nColumnSuffix";

    /**
     * 直接渲染模板的路径
     */
    public static final String request_toUrl = "toUrl";

    /**
     * 当前登录用户的id
     */
    public static final String request_cUserId = "cUserId";

    /**
     * 当前登录用户
     */
    public static final String request_cUser = "cUser";

    /**
     * 验证码key
     */
    public static final String request_authCode = "authCode";

    /**
     * 找回密码验证码key
     */
    public static final String request_retrievePWDCode = "retrievePWDCode";

    /**
     * 权限标示验证码
     */
    public static final String cookie_authmark = "authmark";

    /**
     * 排序方式
     */
    public static final String request_orderMode = "orderMode";

    /**
     * 第几页
     */
    public static final String request_pageNumber = "pageNumber";

    /**
     * 每页显示几多
     */
    public static final String request_pageSize = "pageSize";

    /**
     * 排序条件
     */
    public static final String request_orderColunm = "orderColunm";

    /**
     * 分页查询条件key前缀
     */
    public static final String request_query = "_query";

    /**
     * 表单重复提交验证key
     */
    public static final String request_formToken = "formToken";

    /**
     * 表单重复提交验证token
     */
    public static final String cookie_token = "token";

    /**
     * 当前范文日志request key
     */
    public static final String reqSysLogKey = "reqSysLog";

    /**
     * render耗时计算key
     */
    public static final String renderTimeKey = "renderTime";

}
